package com.linkwechat.wecom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.wecom.domain.WeworkKfMemberRelation;

/**
 * 企微客服userId与助销宝member_id桥接Mapper接口
 *
 * @author ruoyi
 * @date 2022-05-19
 */
public interface WeworkKfMemberRelationMapper extends BaseMapper<WeworkKfMemberRelation> {
    /**
     * 判断桥接是否已同步
     *
     * @param memberId 表名称
     * @return 列信息
     */
    public WeworkKfMemberRelation selectByMemberId(Integer memberId);

    public int resetSyncFlag(WeworkKfMemberRelation weworkKfMemberRelation);

    public int copySyncFlagToState(WeworkKfMemberRelation weworkKfMemberRelation);
}
